package com.api.shopapi.service;

import com.api.shopapi.entity.ShopPageData;
import com.api.shopapi.entity.dto.ElderlyViewsDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ViewsService {

    ShopPageData getElderly(String governmentCode);

    ShopPageData getElderlyByNew(String governmentCode);

    ShopPageData getElderlyTotal(String governmentCode);

    int getElderlyCount(String governmentCode);

    int getGovernmentOrderCount(String governmentCode);

    int getTotalBuildNew(String governmentCode);

    int getTotalAcceptNew(String governmentCode);

    int getTotalServeNew(String governmentCode);

    int getTotalSuccessNew(String governmentCode);

    int getTotalServiceObjectNew(String governmentCode);

    int getTotalBusinessNew(String governmentCode);

    int getTotalServicePeopleNew(String governmentCode);

    int getWomanService(String governmentCode);

    int getManServic(String governmentCode);

    int getTotalServiceNews(String governmentCode);

    int getClassOneNews(String governmentCode);

    int getClassTwoNews(String governmentCode);

    int getClassThreeNews(String governmentCode);

    PageInfo<ElderlyViewsDTO> getList(int pageIndex,
                                      int pageSize, List<String> governmentCodeList);
}
